<nav class="breadcrumb" id="pathContainer">
    <i class="Hui-iconfont Hui-iconfont-weizhi"></i>
    <span>您的位置：</span>
    <span>系统配置</span>
    <span class="c-999 en">&gt;</span>
    <span class="c-primary">县区管理</span>
</nav>
<div class="Hui-article" id="MainList">
<!--     <div class="eva-h2">
        <i class="Hui-iconfont Hui-iconfont-fenlei"></i>
        <span class="c-primary">县区管理</span>
        <div class="f-r">
            <button class="btn btn1 radius add_btn save_from"><i class="Hui-iconfont Hui-iconfont-add"></i>新增</button>
        </div>
    </div> -->
    
    <!-- search module start -->
    <div class="row cl searchBox">
        <form class="form form-horizontal responsive" id="searchForm" novalidate="novalidate">
            <div class="clearfix">
                <div class="conditionBox col-sm-2">
                    <label for="">县区名:</label>
                    <input type="text" class="input-text radius" placeholder="请输入县区名" name="area" id="area"/>
                    <input type="hidden" name="fatherId" value="2" id="fatherId">
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">行政代码:</label>
                    <input type="text" class="input-text radius" placeholder="请输入行政代码" name="areaCode" id="areaCode" />
                </div>
            </div>

            <div class="clearfix search-btns  margin-padding-none btn-div">
                <input type="button" class="btn btn-primary queryBtn btn btn-secondary" value="查 询"/>
                <input class="btn btn-secondary add_btn save_from" type="button" value="新增">
            </div>

        </form>
    </div>
    <!-- search module end -->
    
    <div class="table-scroll">
        <table class="table table-border table-bordered">
            <thead class="text-c row cl table-bgcolor-gary" id="thead">
            <tr>
                <th>序号</th>
                <th>县区</th>
                <th>行政代码</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody class="text-c row cl" id="tbody"></tbody>
        </table>
    </div>
    <div class="page pt-10 clearfix">
        <div class="f-l" style="white-space: nowrap;" id="pageContainer"></div>
        <div class="f-r" id="pageBtn">
            <input type="button" value="首页" class="page-btn" id="firstPage">
            <input type="button" value="上一页" class="page-btn" id="prevPage">
            <input type="button" value="下一页" class="page-btn" id="nextPage">
            <input type="button" value="尾页" class="page-btn" id="lastPage">
        </div>
    </div>
</div>
<script id="list" type="text/x-handlebars-template">
    \{{#each resultList}}
    <tr>
    	<td>\{{Math @index '+' '1'}}</td>
        <td>\{{area}}</td>
        <td>\{{areaCode}}</td>
        <td width="250" id="\{{id}}" attr-fatherId="\{{fatherId}}">
            <button type="button" class="btn btn-primary size-S detail_btn save_from">查看</button>
            <button type="button" class="btn btn-danger size-S del_btn ">删除</button>
            <button type="button" class="btn btn-primary size-S edit_btn save_from">编辑</button>
        </td>
    </tr>
    \{{/each}}
</script>
    <script id="page" type="text/x-handlebars-template">
        <span>共有\{{rowCount}}条记录，</span>
        <label for="ipt2">每页行数：</label>
        <span class="select-box page-span">
            <select class="select page-select" size="1" name="demo1" id="pageSize">
                <option value="10" selected>10</option>
                <option value="20">20</option>
                <option value="50">50</option>
                <option value="100">100</option>
                <option value="200">200</option>
                <option value="300">300</option>
            </select>
        </span>
        <label for="ipt2">当前第</label>
        <span class="select-box page-span">
            <select class="select page-select" size="1" name="demo1" id="pageCount">
                \{{#each pageCount}}
                <option value="\{{pageCount}}">\{{pageCount}}</option>
                \{{/each}}
            </select>
        </span>
        <span>页</span>
    </script>
<script>
    new countyMng();
</script>